﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using AuditUpload.gui;
using System.Text;
 
using System.Windows.Forms;
using AuditUpload.model;

namespace AuditUpload
{
    public partial class missfile : subForm
    {
        public missfile()
        {
            InitializeComponent();
            FormNum = progress.missfile;
        }
        public override void refresh()
        {
            int index = this.dataGridView1.Rows.Add();
            this.dataGridView1.Rows[index].Cells[0].Value = "441801";
            this.dataGridView1.Rows[index].Cells[1].Value = "映射关系表";
            this.dataGridView1.Rows[index].Cells[2].Value = "未找到";
            index = this.dataGridView1.Rows.Add();
            this.dataGridView1.Rows[index].Cells[0].Value = "441801";
            this.dataGridView1.Rows[index].Cells[1].Value = "建表语句";
            this.dataGridView1.Rows[index].Cells[2].Value = "已添加";

            FolderBrowserDialog folder = new FolderBrowserDialog();
            folder.Description = "选择所有文件存放目录";
            if (folder.ShowDialog() == DialogResult.OK)
            {

                string sPath = folder.SelectedPath;
                MessageBox.Show(sPath);
            }
        }
        private void button2_Click(object sender, EventArgs e)
        {

        }

        private void button1_Click(object sender, EventArgs e)
        {
            SwitchWindow.Go(this, progress.upload);
        }
    }
}
